package com.cn.crmsystem.service.businessService;

import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.Problem;
import com.cn.crmsystem.pojo.ResultJson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface ProblemService {
    ResultJson selectProblemAll(Map map);

    ResultJson selectProblemById(Integer id);

    ResultJson addProblem(Problem problem, Login login);

    ResultJson updateProblem(Integer id);

    ResultJson deleteByIdProblem(Integer id);

}
